package com.xmg.boot.demo.bootcommon.utils.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: ma
 * @date: 2023-12-04
 * @since: 统一分页 - 查询条件
 */
@Data
@AllArgsConstructor
public class PagingFilter implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据库字段")
    private String field;
    @ApiModelProperty("条件")
    //eq:等于,ne:不等于,lt:小于,le:小于等于,gt:大于,ge:大于等于,cn:包含,nu:为空,nn:不为空,in:列表等于
    private String op;
    @ApiModelProperty("值")
    private String value;
}
